EXEC = ftpMain.exe
SRC = $(wildcard *.c)
File = $(notdir $(SRC))
OBJS = $(patsubst %.c, %.o, $(File))
CC = arm_v5t_le-gcc 
#gcc

all: $(EXEC)
$(EXEC): $(OBJS)
	$(CC)  $(OBJS) -o $(EXEC) -lpthread

clean:
	-rm -f $(EXEC) *.elf *.gdb *.o *~

